package designpattern.state;

public class SoldOutState implements State {
	GumballMachine gumballMachine;

	public SoldOutState(GumballMachine gumballMachine) {
		this.gumballMachine = gumballMachine;
	}

	@Override
	public void insertQuarter() {
		System.out.println("We're out");
	}

	@Override
	public void ejectQuarter() {
		System.out.println("Sorry, We're out");

	}

	@Override
	public void turnCrank() {
		System.out.println("I can't hear you");

	}

	@Override
	public void dispense() {
		System.out.println("No No No, out ");
	}

}
